.box2{
    margin-top: 30px;
    position: relative;
}
.box2>ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 500px;
}
.box2 >ul li{
    width: 200px;
    height: 300px;
    float: left;
    background-color: #b2dba1;
    border-radius: 10px;
    position: relative;
}
.box2 >ul li div{
    position: absolute;
    width: 150px;
    height: 50px;
    background-color: white;
    left: 50%;
    transform: translateX(-75px);
    bottom: 0;
    transition: all 0.5s linear;
    border-top-right-radius: 20px;
    border-top-left-radius:20px;
}
.box2 >ul li:hover div{
    height: 100px;
}